#!/usr/bin/env ruby
#
# This file is gererated by ruby-glade-create-template 1.1.3.
#
require 'libglade2'
require 'gtk2'
#require 'glib2'

class HelptipGlade
  include GetText

  attr :glade
  
  def initialize(path_or_data, root = nil, domain = nil,
									localedir = nil, flag = GladeXML::FILE)
    bindtextdomain(domain, localedir, nil, "UTF-8")
    @glade = GladeXML.new(path_or_data, root, domain, localedir,
													 flag) {|handler| method(handler)}

		clemon= Gdk::Color.parse("LemonChiffon")
		cgrey= Gdk::Color.parse("grey20")
		cmoccasin= Gdk::Color.parse("moccasin")
		
    @window = @glade.get_widget('window1')
		@window.modify_bg(Gtk::STATE_NORMAL, cgrey)
		
    @evtbox = @glade.get_widget('eventbox1')
		@evtbox.modify_bg(Gtk::STATE_NORMAL, clemon)

		@helptip = @glade.get_widget('helptip')
		@helptip.modify_bg(Gtk::STATE_PRELIGHT, cmoccasin)
		
  end

  def quit
	  puts 'saliendo del programa'
  	Gtk.main_quit
  end

end

# Main program
if __FILE__ == $0
  # Set values as your own application. 
  PROG_PATH = "helptip.glade"
  PROG_NAME = "YOUR_APPLICATION_NAME"
  Gtk.init
  HelptipGlade.new(PROG_PATH, nil, PROG_NAME)
  Gtk.main
end
